package com.xinou.daily_report.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinou.common.base.database.EntityBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author ${author}
 * @since 2021-06-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SysWeekResult对象", description="")
public class SysWeekResult  extends EntityBase {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "承诺内容")
    private String promise;

    @ApiModelProperty(value = "完成情况")
    private String complete;

    @ApiModelProperty(value = "改进措施")
    private String improve;

    @ApiModelProperty(value = "0表示计划内，1表示计划外")
    private Integer resultType;

    @ApiModelProperty(value = "weekId")
    private Long weekId;

    @ApiModelProperty(value = "用户id")
    private Long userId;


    @ApiModelProperty(value = "部门id")
    private Long deptId;


    @ApiModelProperty(value = "插入时间 yyyy-MM-dd HH:mm:ss", example = "2020-11-28 00:12:23", required = true)
    @JsonFormat(timezone = "GMT+8", shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "insert_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime insertTime;
}
